package com.qf.listener;

import org.springframework.amqp.rabbit.annotation.RabbitHandler;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

/**
 * @author 千锋健哥
 */
@Component
@RabbitListener(queues = "queue6")
public class Queue6Listener {

    @RabbitHandler
    public void messageHandler(String str) {
        System.out.println("====队列6监听器====" + str);
    }

}
